﻿using System;
using System.Collections.Generic;
using PGun.MVC.Core.Domain.Directory;
using PGun.MVC.Core.Domain.Localization;

namespace PGun.MVC.Core.Domain.Shipping
{
    public partial class ShippingMethod : BaseEntity, ILocalizedEntity
    {
        private ICollection<Country> _restrictedCountries;

        public string Name { get; set; }

        public string Description { get; set; }

        public int DisplayOrder { get; set; }

        public virtual ICollection<Country> RestrictedCountries
        {
            get { return _restrictedCountries ?? (_restrictedCountries = new List<Country>()); }
            protected set { _restrictedCountries = value; }
        }
    }
}
